//
//  YMTavelTrack.swift
//  Driver
//
//  Created by lantaiyuan on 2017/11/3.
//  Copyright © 2017年 youmy. All rights reserved.
//

import UIKit

class YMTavelTrack: NSObject {
    
    class TravelTrack_root: NSObject {
        var success: Bool = false
        var msg: String?
        var statusCode: Int64 = 0
        var obj: TravelTrack_obj?
    }
    
    class TravelTrack_obj: NSObject {
        var trailDetail: String?
        var firstStationName: String?
        var lastStationName: String?
        var totalDistance: Int64 = 0
        var totalTimeConsuming: Int64 = 0
        var totalCount: Int64 = 0
        var totalIncome: Int64 = 0
        var carpoolRouteStations: Array<TravelTrack_carpoolRouteStations>?
        
        class func modelContainerPropertyGenericClass() ->[String: Any] {
            return ["carpoolRouteStations": TravelTrack_carpoolRouteStations.self]
        }
    }
    
    class TravelTrack_carpoolRouteStations: NSObject {
        var stationId: String?
        var stationType: Int64 = 0
        var stationLat: Double = 0
        var stationName: String?
        var upNum: Int64 = 0
        var stationLon: Double = 0
        var stationNo: Int64 = 0
        var arriveTime: Int64 = 0
        var downNum: Int64 = 0
    }
}
